package aor2.components.records;

import aor2.common.TrackerRecord;
import aor2.cpu.ClockCPU;

public abstract class RecordCPU<V> implements TrackerRecord<ClockCPU, V> {

	private V value;
	private ClockCPU clock;

	public RecordCPU(V value) {
		super();
		this.value = value;
		this.clock = ClockCPU.getInstance().clone();
	}

	@Override
	public ClockCPU getMark() {
		return clock;
	}

	@Override
	public V getValue() {
		return value;
	}

}
